const mongoose = require('mongoose')

const schema = new mongoose.Schema({
    //角色分类名称
    type_name: {
        type: String,
        required: true
    },
    //角色分类职责
    type_role: {
        type: String,
        required: true
    },
    //角色分类序号
    type_number: {
        type: Number,
        required: true
    }

})

module.exports = mongoose.model('UserType', schema)